package semanticAbstraction.interfaces;

import helper.GroundingInformation;


/**
 * Provides a common interface for all semantic adapters to support a unified way of interaction.
 * 
 * @author Christian Stamber
 *
 */
public interface SemanticHandler {

	
	public String invokeSemantically(String semanticDescription, String semanticInput) throws Exception;

	public GroundingInformation discoverWebService(String semanticDescription) throws Exception;

	public String map(String sourceGoal, String sourceInstance, String targetGoal, String targetInstance, String sourceInput);

	public String merge(String input1, String ontologyName1, String instanceName1, String input2, String ontologyName2, String instanceName2, String outputOntologyName);
	
	public boolean decide(String semanticInput, String condition);

}